package com.fc.test.mapper.auto;

import com.fc.test.model.auto.ForeFood;
import com.fc.test.model.auto.ForeFoodExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 食物 ForeFoodMapper
 * @author fuce_自动生成
 * @email 115889198@qq.com
 * @date 2020-09-02 20:28:03
 */
public interface ForeFoodMapper {
      	   	      	      	      	      	      	      	      	      	      	      	      
    long countByExample(ForeFoodExample example);

    int deleteByExample(ForeFoodExample example);
		
    int deleteByPrimaryKey(String id);
		
    int insert(ForeFood record);

    int insertSelective(ForeFood record);

    List<ForeFood> selectByExample(ForeFoodExample example);
		
    ForeFood selectByPrimaryKey(String id);
		
    int updateByExampleSelective(@Param("record") ForeFood record, @Param("example") ForeFoodExample example);

    int updateByExample(@Param("record") ForeFood record, @Param("example") ForeFoodExample example); 
		
    int updateByPrimaryKeySelective(ForeFood record);

    int updateByPrimaryKey(ForeFood record);
  	  	
}